package com.kang.pojo;

import java.io.Serializable;

/**
 * 工作流程-审批级别
 * @author wd
 *
 */
public class AuditFlowItem implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 主键id
	 */
	private Integer id;
	/**
	 * 审批流程类型ID
	 */
	private Integer auditFlowID;
	/**
	 * 级别
	 */
	private Integer  level;
	/**
	 * 权限组ID
	 */
	private Integer  roleID;
	/**
	 * 状态
	 */
	private Integer  status;
	/**
	 * 需要通过人数
	 */
	private Integer  passPersonNumber;
	/**
	 * 最大通过人数
	 */
	private Integer  maxPassPersonNumber;
	/**
	 * 用户名，以逗号隔开
	 */
	private String userListName;
	
	public AuditFlowItem() {
		super();
	}
	
	/**
	 * 构造方法
	 * @param id
	 * @param auditFlowID
	 * @param level
	 * @param roleID
	 * @param status
	 * @param passPersonNumber
	 * @param userListName
	 */
	public AuditFlowItem(Integer id, Integer auditFlowID, Integer level,
			Integer roleID, Integer status, Integer passPersonNumber,
			String userListName) {
		super();
		this.id = id;
		this.auditFlowID = auditFlowID;
		this.level = level;
		this.roleID = roleID;
		this.status = status;
		this.passPersonNumber = passPersonNumber;
		this.userListName = userListName;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getAuditFlowID() {
		return auditFlowID;
	}

	public void setAuditFlowID(Integer auditFlowID) {
		this.auditFlowID = auditFlowID;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Integer getRoleID() {
		return roleID;
	}

	public void setRoleID(Integer roleID) {
		this.roleID = roleID;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getPassPersonNumber() {
		return passPersonNumber;
	}

	public void setPassPersonNumber(Integer passPersonNumber) {
		this.passPersonNumber = passPersonNumber;
	}

	public String getUserListName() {
		return userListName;
	}

	public void setUserListName(String userListName) {
		this.userListName = userListName;
	}

	@Override
	public String toString() {
		return "AuditFlowItem [id=" + id + ", auditFlowID=" + auditFlowID
				+ ", level=" + level + ", roleID=" + roleID + ", status="
				+ status + ", passPersonNumber=" + passPersonNumber
				+ ", userListName=" + userListName + "]";
	}

	public Integer getMaxPassPersonNumber() {
		return maxPassPersonNumber;
	}

	public void setMaxPassPersonNumber(Integer maxPassPersonNumber) {
		this.maxPassPersonNumber = maxPassPersonNumber;
	}
	
}
